package com.tiger.cloud.model.crm;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.tiger.cloud.common.mybatis.TigerBaseEntity;
import com.tiger.cloud.enums.DeleteEnum;
import com.tiger.cloud.enums.UserCompanyInfoIAreaType;
import com.tiger.cloud.enums.UserCompanyInfoIBizType;
import com.tiger.cloud.enums.UserCompanyInfoUsers;

import io.swagger.annotations.ApiModelProperty;
/**
 * 
 * crm_user_company_info-用户企业信息
 *
 */
public class UserCompanyInfo extends TigerBaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 用户个人信息ID
	 */
	@ApiModelProperty(value = "用户个人信息ID")
    private Long userInfoId;
	/**
	 * 所属用户
	 */
	@ApiModelProperty(value = "所属用户")
    private Long userId;
	/**
	 * 序号
	 */
    private Integer companyNo;
	/**
	 * 公司名称
	 */
    private String companyName;
	/**
	 * 公司地址
	 */
    private String address;
	/**
	 * 业务区域
	 */
    private String area;
	/**
	 * 放款最小值
	 */
    private BigDecimal rangeLoanMin;
	/**
	 * 放款最大值
	 */
    private BigDecimal rangeLoanMax;
	/**
	 * 利息最小值
	 */
    private BigDecimal rangeInterestMin;
	/**
	 * 利息最大值
	 */
    private BigDecimal rangeInterestMax;
	/**
	 * 0:车辆抵押、1:无抵押、2:零用贷、3:垫资、4:不动产抵押、5:其他抵押、6:中介服务
	 */
    private UserCompanyInfoIBizType bizType;
	/**
	 * 0:单体公司、1:城市性、2:区域性、3:全国性
	 */
    private UserCompanyInfoIAreaType areaType;
	/**
	 * 0:<10,1:1~30,2:31~100,3:>100
	 */
    private UserCompanyInfoUsers employee;
	/**
	 * 类似如:  周一到周五，8:00到18:00
	 */
    private String workTime;
	/**
	 * 工作多长时间   3年
	 */
    private String workPeriod;
	/**
	 * 是否删除, 0:正常,1:删除
	 */
    private DeleteEnum isDelete=DeleteEnum.NOMAIL;
	/**
	 * 收入情况
	 */
    private BigDecimal income;
	/**
	 * 公司备注
	 */
    private String companyInfo;
	/**
	 * 公司图片
	 */
    private String companyAttachment;
	/**
	 * 
	 */
    private Date createTime;
	/**
	 * 
	 */
    private Date lastUpdateTime;
	/**
	 * 公司所在地区---省
	 */
    private Long provinceId;
	/**
	 * 公司所在地区---市
	 */
    private Long cityId;
	/**
	 * 公司所在地区---区
	 */
    private Long districtId;
	/**
	 * 公司所在地区---省
	 */
    private String provinceName;
	/**
	 * 公司所在地区---市
	 */
    private String cityName;
	/**
	 * 公司所在地区---区
	 */
    private String districtName;
    
    public UserCompanyInfo(){
    
    }
    
    public Long getUserInfoId() {
        return this.userInfoId;
    }
    
    public void setUserInfoId(Long userInfoId) {
        this.userInfoId = userInfoId;
    }
    public Long getUserId() {
        return this.userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Integer getCompanyNo() {
        return this.companyNo;
    }
    
    public void setCompanyNo(Integer companyNo) {
        this.companyNo = companyNo;
    }
    public String getCompanyName() {
        return this.companyName;
    }
    
    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }
    public String getArea() {
        return this.area;
    }
    
    public void setArea(String area) {
        this.area = area;
    }
    public BigDecimal getRangeLoanMin() {
        return this.rangeLoanMin;
    }
    
    public void setRangeLoanMin(BigDecimal rangeLoanMin) {
        this.rangeLoanMin = rangeLoanMin;
    }
    public BigDecimal getRangeLoanMax() {
        return this.rangeLoanMax;
    }
    
    public void setRangeLoanMax(BigDecimal rangeLoanMax) {
        this.rangeLoanMax = rangeLoanMax;
    }
    public BigDecimal getRangeInterestMin() {
        return this.rangeInterestMin;
    }
    
    public void setRangeInterestMin(BigDecimal rangeInterestMin) {
        this.rangeInterestMin = rangeInterestMin;
    }
    public BigDecimal getRangeInterestMax() {
        return this.rangeInterestMax;
    }
    
    public void setRangeInterestMax(BigDecimal rangeInterestMax) {
        this.rangeInterestMax = rangeInterestMax;
    }
    public UserCompanyInfoIBizType getBizType() {
        return this.bizType;
    }
    
    public void setBizType(UserCompanyInfoIBizType bizType) {
        this.bizType = bizType;
    }
    public UserCompanyInfoIAreaType getAreaType() {
        return this.areaType;
    }
    
    public void setAreaType(UserCompanyInfoIAreaType areaType) {
        this.areaType = areaType;
    }
    public UserCompanyInfoUsers getEmployee() {
        return this.employee;
    }
    
	public String getWorkTime() {
		return workTime;
	}

	public void setWorkTime(String workTime) {
		this.workTime = workTime;
	}

	public String getWorkPeriod() {
		return workPeriod;
	}

	public void setWorkPeriod(String workPeriod) {
		this.workPeriod = workPeriod;
	}

	public DeleteEnum getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(DeleteEnum isDelete) {
		this.isDelete = isDelete;
	}

	public BigDecimal getIncome() {
		return income;
	}

	public void setIncome(BigDecimal income) {
		this.income = income;
	}

	public String getCompanyInfo() {
		return companyInfo;
	}

	public void setCompanyInfo(String companyInfo) {
		this.companyInfo = companyInfo;
	}

	public String getCompanyAttachment() {
		return companyAttachment;
	}

	public void setCompanyAttachment(String companyAttachment) {
		this.companyAttachment = companyAttachment;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Long getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(Long provinceId) {
		this.provinceId = provinceId;
	}

	public Long getCityId() {
		return cityId;
	}

	public void setCityId(Long cityId) {
		this.cityId = cityId;
	}

	public Long getDistrictId() {
		return districtId;
	}

	public void setDistrictId(Long districtId) {
		this.districtId = districtId;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getDistrictName() {
		return districtName;
	}

	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void setEmployee(UserCompanyInfoUsers employee) {
		this.employee = employee;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}